#ifndef SERVERDATABASE_H
#define SERVERDATABASE_H

#include <map>
#include "FileInfo.h"



struct ServerDatabase
{
    std::vector<FileInfo> data;

    bool contains(std::string filename);
    FileInfo& get(std::string filename);
    void add(FileInfo f);
    std::string getFileList();
};


#endif // SERVERDATABASE_H
